package com.qms.qep.domain;

import java.util.Date;
import com.qms.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 证书模板对象 certificate_template
 */
public class CertificateTemplate extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 模板ID */
    private Long id;

    /** 模板名称 */
    private String name;

    /** 模板类型 */
    private String type;

    /** 模板描述 */
    private String description;

    /** 模板文件URL */
    private String templateFileUrl;

    /** 模板格式 */
    private String templateFormat;

    /** 状态（0正常 1停用） */
    private String status;
    
    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;
    
    /** 版本号 */
    private Integer version;
    
    /** 模板内容 */
    private String content;
    
    /** 在线编辑器内容 */
    private String editorContent;
    
    /** 编辑器类型(rich:富文本,html:HTML) */
    private String editorType;
    
    /** 生成规则 */
    private String generateRules;
    
    /** Word文档内容（字节数组，不存入数据库） */
    private transient byte[] wordContent;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    public void setTemplateFileUrl(String templateFileUrl) {
        this.templateFileUrl = templateFileUrl;
    }

    public String getTemplateFileUrl() {
        return templateFileUrl;
    }

    public void setTemplateFormat(String templateFormat) {
        this.templateFormat = templateFormat;
    }

    public String getTemplateFormat() {
        return templateFormat;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }
    
    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }
    
    public void setVersion(int version) {
        this.version = version;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getEditorContent() {
        return editorContent;
    }

    public void setEditorContent(String editorContent) {
        this.editorContent = editorContent;
    }

    public String getEditorType() {
        return editorType;
    }

    public void setEditorType(String editorType) {
        this.editorType = editorType;
    }

    public String getGenerateRules() {
        return generateRules;
    }

    public void setGenerateRules(String generateRules) {
        this.generateRules = generateRules;
    }

    public byte[] getWordContent() {
        return wordContent;
    }

    public void setWordContent(byte[] wordContent) {
        this.wordContent = wordContent;
    }
} 